package com.meitianhui.convenitenbuy.module.home.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.meitianhui.convenitenbuy.R;

import java.util.List;

/**
 * Created by Administrator on 2017/12/6.
 */

public class HomeHotAdapter extends BaseQuickAdapter<String,BaseViewHolder>{
    public HomeHotAdapter( @Nullable List<String> data) {
        super(R.layout.item_home_hot, data);
    }
    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_hot,item);
    }
}
